package com.engineering.elink.recruitdao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.engineering.elink.domain.recruit.VitaCollection;

public interface VitaCollectionMapper {
    int deleteByPrimaryKey(Integer vcId);

    int insert(VitaCollection record);

    int insertSelective(VitaCollection record);

    VitaCollection selectByPrimaryKey(Integer vcId);

    int updateByPrimaryKeySelective(VitaCollection record);

    int updateByPrimaryKey(VitaCollection record);
    
    int insertBatch(List<VitaCollection> vcList);
    

    int updateBatchByStatus(@Param("status")Integer status,@Param("vcIds")String[] vcIds);
    
    VitaCollection selectVcById(@Param("cvdId")String cvdId,@Param("companyId")String companyId,@Param("status")Integer status);
    
    List<Integer> selectViCoByJobId(@Param("jobIds")String[] jobIds,@Param("status")Integer status);
    
    int updateBatchByStatusList(@Param("status")Integer status,@Param("vcList")List<Integer> vcList);
    
}